#pragma once
#include "Object.h"
#include <Windows.h>

class CLocker:public CObject
{
public:
	CLocker();
	~CLocker();

	void Lock();

	void UnLock();

	static void SetInValid();

private:
	CRITICAL_SECTION lock;
};